import time
import unittest

from scripts.test02_employee import TestEmployee
from tools.HTMLTestRunner import HTMLTestRunner
from scripts.test01_login import TestLogin

suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestLogin))
suite.addTest(unittest.makeSuite(TestEmployee))

report = "./report/report.html"

with open(report, "wb") as f:
    HTMLTestRunner(f, title="测试报告").run(suite)

